package com.hyt.it.ogt.kq.service.bm.model.vo;

import com.hyt.it.ogt.kq.service.bm.model.entity.Invoice;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class InvoiceResultVo extends Invoice {

    private String bmInvoiceId;

    @ApiModelProperty(value = "发票请求流水号每个请求流水号只能开一次,流水号前面以公司名称前缀例")
    private String fpqqlsh;

    @ApiModelProperty(value = "发票代码")
    private String fpDm;

    @ApiModelProperty(value = "发票号码")
    private String fpHm;

    @ApiModelProperty(value = "开票日期")
    private LocalDateTime kprq;

    @ApiModelProperty(value = "PDF 下载地址")
    private String pdfUrl;

    @ApiModelProperty(value = "收票地址-用该地址生成二维码，供用户扫码获取发票 成功必填")
    private String spUrl;

    @ApiModelProperty(value = "发票状态 被红冲标志，1-未红冲，2-已红冲 纸票：3-已开废票，4-空白作废")
    private String fpzt;

    @ApiModelProperty(value = "0 成功 1 待确认 2 失败 3 待开具")
    private String rsCode;

    @ApiModelProperty(value = "消息描数")
    private String rsMsg;

    private String jym;

    @ApiModelProperty(value = "0000 成功，0001 正在开具,其它失败")
    private String innerRsCode;

    @ApiModelProperty(value = "收件人")
    private String addressee;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "收件地址-省")
    private String addrProv;

    @ApiModelProperty(value = "收件地址-市")
    private String addrCity;

    @ApiModelProperty(value = "收件地址-区")
    private String addrCounty;

    @ApiModelProperty(value = "收件地址-详细地址")
    private String addrDetail;

    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @ApiModelProperty(value = "接收方式")
    private String receviceType;

    @ApiModelProperty(value = "发票内容")
    private String xmmc;

    @ApiModelProperty(value = "发票内容")
    private String telphone;

    @ApiModelProperty(value = " addrDetail的值")
    private String settingSate;

}
